Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix some incorrect include statements. #2526

Merged
merged 1 commit into from
Aug 14, 2024
Merged

Conversation

danlapid
Copy link
Contributor

Replacing without reordering quote includes to angle bracket includes where appropriate.
The following logic is used to find the incorrect includes:
find #include "kj/
find #include "capnp/
find #include "workerd/
find #include "v8- // AND the header is in the v8 include directory
find #include "openssl/
find #include ".?/. // Not all of these are wrong
find #include c system headers // replace <stdint.h> with

If we decide to enable sortincludes in clang-format this should fix some incorrect grouping.

Replacing without reordering quote includes to angle bracket includes
where appropriate.
The following logic is used to find the incorrect includes:
  find #include "kj/
  find #include "capnp/
  find #include "workerd/
  find #include "v8- // AND the header is in the v8 include directory
  find #include "openssl/
  find #include ".*?/.* // Not all of these are wrong
  find #include c system headers // replace <stdint.h> with <cstdint>
@danlapid danlapid requested review from a team as code owners August 13, 2024 17:25
Copy link
Member

@npaun npaun left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👏 👏 👏

@danlapid danlapid merged commit eaa4a50 into main Aug 14, 2024
9 checks passed
@danlapid danlapid deleted the dlapid/cleaner-includes branch August 14, 2024 10:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants